package com.tianyi.lib.req;

import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;
import java.util.Date;

/**
 * product req
 *
 * @author cuixuhui
 * @date 2020/06/20
 */
public class ProductReq extends BaseReq {

    /**
     * 货号
     */
    private String productNo;

    /**
     * 名称
     */
    private String productName;

    /**
     * 品牌id
     */
    private Long brandId;

    /**
     * 分类id
     */
    private Long classifyId;

    /**
     * 价格
     */
    private BigDecimal price;

    /**
     * 颜色
     */
    private String colour;

    /**
     * 库存
     */
    private Integer inventory;

    /**
     * 图片
     */
    private String photoPath;

    /**
     * 年度
     */
    private String annual;

    /**
     * 季度
     */
    private String quarter;

    /**
     * 开放时间begin
     */
    private Date openStart;

    /**
     * 开放时间end
     */
    private Date openEnd;

    /**
     * 上架状态
     */
    private Boolean status;

    private String size;

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public Long getBrandId() {
        return brandId;
    }

    public void setBrandId(Long brandId) {
        this.brandId = brandId;
    }

    public Long getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(Long classifyId) {
        this.classifyId = classifyId;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getColour() {
        return colour;
    }

    public void setColour(String colour) {
        this.colour = colour;
    }

    public Integer getInventory() {
        return inventory;
    }

    public void setInventory(Integer inventory) {
        this.inventory = inventory;
    }

    public String getPhotoPath() {
        return photoPath;
    }

    public void setPhotoPath(String photoPath) {
        this.photoPath = photoPath;
    }

    public String getAnnual() {
        return annual;
    }

    public void setAnnual(String annual) {
        this.annual = annual;
    }

    public String getQuarter() {
        return quarter;
    }

    public void setQuarter(String quarter) {
        this.quarter = quarter;
    }

    public Date getOpenStart() {
        return openStart;
    }

    public void setOpenStart(Date openStart) {
        this.openStart = openStart;
    }

    public Date getOpenEnd() {
        return openEnd;
    }

    public void setOpenEnd(Date openEnd) {
        this.openEnd = openEnd;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    @Override
    public String toString() {
        return "ProductReq{" +
                "productNo='" + productNo + '\'' +
                ", productName='" + productName + '\'' +
                ", brandId=" + brandId +
                ", classifyId=" + classifyId +
                ", price=" + price +
                ", colour='" + colour + '\'' +
                ", inventory=" + inventory +
                ", photoPath='" + photoPath + '\'' +
                ", annual='" + annual + '\'' +
                ", quarter='" + quarter + '\'' +
                ", openStart=" + openStart +
                ", openEnd=" + openEnd +
                ", status=" + status +
                ", size='" + size + '\'' +
                '}';
    }
}
